After upgrading the ActiveX controls, VC++, VB, and Delphi programs that used to work no longer work correctly
Tech Note: TN0072
Product: ActiveX
Version: All
Date Added: 2002-11-13
Issue
After upgrading the ActiveX controls, VC++, VB, and Delphi programs that used to work no longer work correctly. Typically, the problem is seen with the connect functions, such as ConnectRP2 and ConnectZBUS. These functions will always return 0 (failure). However, other functions such as ReadTag and SetTagVal may also fail.
Workaround
This problem occurs because VC++, VB, and Delphi remember the older ActiveX version. Remove the ActiveX control instances from the project and re-create them.